package com.baihan.angus.app.game.basic.event_bus;

public class LiveDataEvent {
    public int what;
    public boolean isPositive;
    public String msg1;
    public Object data;

    public LiveDataEvent(int what) {
        this.what = what;
    }

    public LiveDataEvent(int what, boolean isPositive) {
        this.what = what;
        this.isPositive = isPositive;
    }

    public LiveDataEvent(int what, boolean isPositive, Object data) {
        this.what = what;
        this.isPositive = isPositive;
        this.data = data;
    }

    public LiveDataEvent(int what, String msg1) {
        this.what = what;
        this.msg1 = msg1;
    }

    public LiveDataEvent(int what, Object data) {
        this.what = what;
        this.data = data;
    }

    public LiveDataEvent(int what, String msg1, Object data) {
        this.what = what;
        this.msg1 = msg1;
        this.data = data;
    }
}
